set compile flags