Use `install` instead of `cp` and setup cleaner permissions on installed files
Merge pull request #1140 from AltGr/install-not-cp

Use `install` instead of `cp` and setup cleaner permissions on installed files