path fixes for the build script