Fixes up joe makefile and rootfs recovery