Better hack for detecting Postgres version.

It seems that Windows uses , after version, while it's space on Linux.