Cleaned up installing of dependencies.