cmake: Generate relocatable buildsystem

This way I can generate it on my laptop and move the source to a
remote system without having the same user account there. This will
help in creating proper source packages for deb and rpm based
distributions.