Add stub constant

For systems running PHP < 5.4.0 throw in a dummy constant to prevent
type errors.