Fixed problems with not logged compilation errors.