Correct capitalization of if-test in cmake.