Fixed compilation with CMake < 3.7 (#2321)

1 file changed