correctly report compilation errors in karma pre-processor