makefile: use semver command-line utility