gcc compiler fix