make version check smarter: only compare to tags having the same non-digit prefix