Fix finding deprecated CMake modules

Fixes #63