Fix dist_client for osx