build.sh: path fixes to fix inline build