[Bug 9087] Minor patch for OpenLDAP use of windres when cross-compiling