fix bug #66272 (Some constants are not defined)