Fix configure flags.