Correctly flush streams.
Compile 1.3.1.