Don't start compile when input stream is empty.