Fix installation into relative installation directory

This is required to make the other CPack generators like "ZIP" work.