modifies compile flags