Use enum constants rather than local variables for integral constants. Should fix dynamic_bitset failures on GCC 4.3.x