update compiler flags