wxmac: correct lzma configure option name
glib: apply upstream patches for various compilation issues