build: fix unsupported CMake comparison operation

No match.