make version checks a bit more readable