cmake: FindIce: Portability fixes for cmake <= 2.8.11