This should actually be `/Application/Xamarin Studio.app/Contents/MacOS/mdtool build` instead of `xbuild`