Revert "Update to work on apple"

This reverts commit 80d87280cf2d48f521f88c35568b245eb52eec3f.