fix gcc compiler flags