Fix build script to handle build location with spaces in it.