Fix compiler hooks for SOF.