fix system tray menu example to work on windows