Fix menu error on Windows, fixes #2