Makes sure dependencies exist