add support for compiling recovery only