Added pkg_patch_dir variable