Added some debug statements to the build script.