Fix issues with GTK+ dlls not being found properly.

See https://bugzilla.xamarin.com/show_bug.cgi?id=10558, which is an
identical issue.