CMake: Fix a few CMake autogen warnings

Authored by kfunk on Mar 22 2018, 6:44 AM.