fix boot at startup on Mac OS X