Fix compile errors.
Correctly test for no-ec.