fix RunningOnVista check for non-windows OS
fix regex for parsing version string