GNU ./configure syntax support: replace TRIPLES, add compatibility flags