fix gotodefinition for windows