cpp: Moved engine global declaration to Engine.hpp

This allows Builtins.hpp to be included early on with the other
includes.