Find dependencies
Merge branch 'master' into macosx