Simplify install_prerequisites.py which removes bugs.