[s1890] use the absolut path for CMAKE_INSTALL_PREFIX

Before this commit, building with a relative ${PREFIX} would cause the
build to fail.