Add warning message for CMake < 2.8.12

Fixes #390