Fix incorrect export symbols and use GNUInstallDirs for installation destination