fix single instance app on unix