update patches for building slim