Fix bugs in OS X dummy impl

Commit f4fb699b524 did not have everything quite right.