updated nan, simplify the include_dirs.