cmake: use relative path by default

"${CMAKE_INSTALL_PREFIX}/" is used only when the path should be
absolute path.