Rebase from 'upstream'
Add install rule for package.xml, build as shared lib, disable testing
Fix GNUInstallDirs.cmake native usage
Set CMAKE_INSTALL_LIBDIR=lib to come over multi-arch issues