Fixed build issues under GTK