Fix ambiguity on tie with msvs