fixed gcc flag error