Fix OS X keyboard shortcut modifiers

This PR fixes the problem detailed by #168 by fixing the logic of the `ext.isThisPlatform` method which is used to identify the user's OS.