Keep CMAKE_INSTALL_PREFIX a variable in the configured file

This is needed for it to work with CPack, since the install prefix will be different
Quick hack for CPack DragNDrop dmg