add nan.h as a dependency