Update the CMakeLists to have correct linking options