fix compatibility issue with missing constants in Eclipse 3.7