Cleaned up the CMakeLists a bit with regards to target_link_libraries.