fixed twobwm_restart for osx