fix ownership of files when installing as root on Linux