[PECOFF] Improve compatibility of /export option.