fix startup on non-mac