few changes to the build scripts