A dummy implementation that just returns 1 on non-OS X platforms would be a lot less awkward.