modules: updated CMake modules.
Adapted to Magnum changes.