fix gcc compiler