Use the "new" CMake FIND_PACKAGE case policy

Fixes yet another FTBFS.

Signed-off-by: Luís Pereira <luis.artur.pereira@gmail.com>