Spelling and setting error codes in lib.compile.