Fix compile flags