Minor updates to np_test.cpp
Added ability to build with cmake.  Also updated README to reflect this.