Fix #777 by using a workaround for assumed glibmm bug