Check if ENGINE is defined for 2.2.0 compatibility