If "WNT" is defined, "finite" will be defined twice

See lines 28 & 84
Use const_cast to resolve cast from string literal to LPTSTR (char*) (-Wwrite-strings fix)
Use const_cast to resolve cast from string literal to _TCHAR* (char*) (-Wwrite-strings fix)
Revert "If "WNT" is defined, "finite" will be defined twice"

This reverts commit 3d2442924f9a3fc66f3f7927813fb29e4cc65b11.
Revert "Use const_cast to resolve cast from string literal to LPTSTR (char*) (-Wwrite-strings fix)"

This reverts commit 113b8e4572ab7d3b0d616bdfb9d6a6faf5823aca.
Revert "Use const_cast to resolve cast from string literal to _TCHAR* (char*) (-Wwrite-strings fix)"

This reverts commit ab08dce0a50660163d11a299ee4b64264c68a80c.