Install optional dependencies one by one