Set window and appication icon for OS X and Windows