cmake: fix FindUHD.cmake to work better wit CMake 2.6, and in general.