fix release compiler flags