Cherrypick upstream git commit to make it work on !linux, and add other patches to fix some crashes (http://bugzilla.xfce.org/show_bug.cgi?id=7141) Update dependencies and WANTLIB.