add nan in include dirs