Fixing PyRosetta Mac build. Adding settings for Clang 5.1. Minor improvements to dependency calculation.