adds patches to the installation