If-statement syntax fix.
Merge pull request #35 from paxan/mavericks-clts

Syntax fix in IF statement.