add explicit checks for X11 and JACK to OS X startup script