Remove unneeded compile options.