cmake_install_prefix hack implementation.