Restoring compatibility with CMake 2.6

* The UNSET command didn't exist back then, but using SET with no value does the same thing
* CMake 2.6 doesn't like nested parantheses in IF statements, so tweak IF/ELSE statements
cmake: fixed FindORC logic, was allowing usage of versions below minimum