Fix spca5xx compilation with ccache (#1849)