Add support for the new noEmitOnError compiler option