Improved script so that it will pass along any extra arguments to macbuild or iosbuild.