Use System.isMac() and isWin(). We could replace it by System.getPlatformName() later