Backwards compatibility through conditional compilation.
Replaced conditional compilation with NAN.
Improved NAN.
Updated NAN