Don't automatically hardcode CMAKE_INSTALL_PREFIX.

Also, don't pretend to understand how git works.

This is also from landry@openbsd.org