Make sure dependencies exist.