[Mac] There is no /proc filesystem on Mac

Closes #1294

[ci skip]