Resolve all compileation errors.