Workaround for libXi and CMake 2.8.7.