fix build/install for EBCDIC codecs
use hyphen instead of underscore for executables name
fix bug in error handling code, properly set phase/codec index before calling cbdestroy()