Fixes EE < 2.4 and missing theme constants.

(How's that huh???!?! Are you not satisfied with my non use of tenses??!?! Are you not pleased?!?!?)