refactoring output
adjusted CMakeLists.txt so that the library installs to /usr/local/lib and the headers to /usr/local/include