added -XstartOnFirstThread to osx launcher