Fix for a setuptools bug that appears on some upgrade installations