Fix script generate_documentation.sh, deactivate does not work in travis virtualenv