Supports Node 0.8-0.11.13+ by using Nan.