Improve building Japanese PDF in separate build directory.