updated for NodeJS 0.11.12

It probably doesn't make sense to merge in yet, but later when NodeJS 0.11 or 0.12 becomes mainstream.

It probably also doesn't make sense to have even more `#ifdef`s in there to make it work with both NodeJS versions.