update compiler flags
nearly finish