Fix #1 by exiting subprocess with non-zero result if compilation fails.