[Git][openldap/openldap][its9087] 2 commits: ITS#9226 Fix link order for rewrite program on MinGW