updated windows scm_rev code to use new style