Add the install_dir/include (UNIX) or install_dir\include (Windows) directory to your makefile to include the nsapi.h file.