Removing irrelevant compiler flags