Added compile flags to third party compiles