fix OS X system detection (amend 66704ee)