Add #defines for compatibility with PHP releases prior to the core PHP
type changes.