fix diffing on mac systems

seems to fix the problem on my machine. notice how i make a change that should only impact behavior on macs and leave everything else as before