Fixed broken build when EC unavailable