handle libvala 0.26 and 0.28 in configure