Fix ambiguous function call compile error reported by Visual Studio.