Fixed CMAKE-if-test in FindTinia-script to be complaint with cmake-2.6, also fixed spelling error.