fix ambiguous function call for VS 2010