small bugfixes in distutils commands