CMAKE now works as intended for the library when given make; make install.