Fixed the dependency installation for a more elegant build.