Support Node 0.11.13

This is a backwards-compatible patch for Node 0.11.13+.