Recovery: fix build errors when use 'make bacon'