refactor CIMConstants CIM errors

Due to C++ optimization of level 2, lmiwbem can't be imported because of missing symbols.
some autotools cleanup
introduce distutils as secondary build system