Add a function to get current compile flags.