fix build with caf