Fix the build.
Ignore cache and generated files.
Use path47 library on Linux.