Update macdockiconhandler.mm

Added some instance for Mac OS X compilation