fix gco, bug for TRWS and MRF with older CMAKE-Version