doc: update Japanese auto-generated files
core: fix Lua detection on FreeBSD with cmake