Patch to fix dependencies