Fixed build on CMake older than 3.7 I found this accidentally when I tried to use CMake 3.0 to build this.