Log Message: avoid conflicts with GSocket in glib >= 2.21 in a similar way to http://trac.wxwidgets.org/ticket/10883 (just fixes build)