Check for valac-Major.Minor

This is needed because some distributions do not provide valac bu only ie valac-0.14.

In reality the named distro should fix their distribution, but we should try bit to build as it is not that complex to contain this.