add patches for compiling cf packages