Fix build with no-threads no-ec