lsof: fix build on Xcode-only

Fixes #403.