CMake: fix version check and whitespace damage

Authored by dakon on Jun 16 2019, 4:19 PM.