fix Windows function name conflict