Revert "Revert "find graphite dynamically""

This reverts commit e30cd7bdf0a78db270871f700a64653e39962ff7.
Revert "Revert "deps""

This reverts commit 8a13574d0e6518230d383da40a8c603beb906bf3.