Patch for Node 0.11.3
Added conditional compilation in order to support old versions of node.
Better way of checking for node version.
Merge pull request #18 from kkoopa/master

Patch for Node 0.11.3