Fix build error on node 0.11 (closes #140)

node-0.11 doesn't like persistent pointer dereference.
Merge pull request #141 from yanovich/fix_build

Fix build error on node 0.11 (closes #140)