fix compilation error using older c++ compilers.
rename constants to lower-case.