Fix compilation flags.