O3 and ccache optimizations