fix no-ec build