Add support for building gnushogi and xshogi out of source tree.