Compilation fixes for node v0.10.0.
Merge pull request #19 from browndav/master

Compilation fixes for node v0.10.0; use `node-gyp` by default.