Also fixes an installation issue, where some installation steps would not properly pick up `CMAKE_INSTALL_PREFIX` when set.