Import CMakePackageConfigHelpers from CMake master

Should fix build for CMake < 2.8.8