fix CMake warning with 2.8.12 and newer (fix #44)