fixed some crashes and made ccache off by default.