Fixgyp

Fixes typos in binding.gyp
Fixes build for macosx and linux
Tested on macosx 10.9.2 and ubuntu 12.04 64bit