Fix find script for Travis CI / Ubuntu 12.04 / older CMake versions.