fix resolving of virtual command names on windows