switch to gcc 3.x based compiler on systems using gcc 4.x by default