Hopefully actually fail build when buildings fails
try to fix a build problem in engine.cpp