Speed up ccache (reduce I/O) by lightly compressing build output
When printing the stage, print timestamp too
Fix some bugs