Fixed a bug in the engine that did prevent automatic compilation