node v0.11+ compatibility
compatiblity for libuv, nan 1.2