switch to GNU gcc compiler on ubuntu