Fix FindPackageHandleStandardArgs.cmake for differences between CMake 2 and 3.