finish deps work for mac osx