Modifying the build scripts to correctly set the build profile...