Fix macosx build script to use makefiles instead of xcode
lots of fixes for nvram patching