Remove parentheses in if() to support cmake 2.6

cmake 2.6 reported a parsing error as follows:
  Parse error.
  Function missing ending ")".
  Instead found left paren with text "(".

Reported by Kentoku Shiba. Thanks!!!