small cmake readability improvements

Instead of
  IF(NOT X)
     # do A
  ELSE()
     # do B
  ENDIF()
use the easier to read
  IF(X)
     # do B
  ELSE()
     # do A
  ENDIF()