Fix macosx build script to use makefiles instead of xcode
lots of fixes for nvram patching
Merge pull request #2 from night199uk/nvramPatch

Night199uk fixes. Thanks!