fixing compiler flag