fix applying platform_patches with quilt