I would never expect someone to define CMAKE_INSTALL_PREFIX to /usr/local/lib.