Fixed CMake VERSION issue while compiling from github release