Rebase from 'upstream'
Add install rule for package.xml, build as shared lib, disable testing
Fix GNUInstallDirs.cmake native usage