Update macdockiconhandler.mm

Making it possible to compile macOSX