Fix compile error on windows related to ambiguous types and fix a comment.