Fix undefined constant.
Merge pull request #208 from sergeypavlenko/undefined_constant

Fix undefined constant.