Added gcc compiler switch for cmake.