revert platform fix for PY-6095, apply Python specifix fix instead