Use `-mindepth` and `-maxdepth` instead of just `-depth`.

`-depth` seems to be a BSDism.