Support Node 0.11.4

This is a backwards-compatible patch adding support for Node 0.11.4+.