Switch to node-gyp for v0.8.x compatibility

Fixes issue #7
Fix typo in example