Fix compilation flags