Had #endif instead of #end in Engine.hx, fixed.