updated to build using gyp on OS X and SmartOS
Merge pull request #8 from cobracmder/master

Update to use node-gyp