Fix custom recovery building