-Add two patches and a wrapper script to workaround mga#12463 -Remove unneeded linking in build section