Fix missing definition of CHAR_BIT for gcc when python support is disabled