exit on compilation error