Fix for PackageConfig.cmake

That commit breaks package configuration of packages with indirect independencies because FooConfig.cmake and FooConfigVersion.cmake use different versioning schmes.