Add workaround for valac 0.24