Add the 'ec' directory to mkdef.pl and mkfiles.pl