Reorder the targets to fix installation of the plugin.types

Reorder the targets to fix installation of the plugin.types, fixes issue #73