Fix comparison of to accept X.XbetaX

debian's postgresql uses 9.4Beta2 - since login() calls compareversion - it fails to even start.