Doesn't make it more sense to make this dependent from `DYN_DRV` ? If the driver wasn't loaded from disk it isn't plausible to find a meaningful `_oserror` value even if the target in general supports `_oserror`, is it?