refs #10371. More robust for OSX.