Fix sphinx-build call failure due to nuking environment