NB: Running check, CCACHE segfaults in the first test, then hangs in the second. This needs to be fixed.