Updated build scripts to fix path errors