use separate way to get cts_version on Windows

fix bug https://tizendev.org/bugs/browse/TTS-822