Fix compilation in vala 0.20 at the cost of a small mem leak