CMake: Use "NOT varname" instead of testing for equality to -NOTFOUND.