rename _errno

On WIN32, _errno is already used as a function identifier. This patch just renames it.