Flush output buffers before exit.
Update to latest compat.