MSVC: Don't define NDEBUG even for Release builds.
Check for Windows-specific functions by checking _WIN32, not HAVE_* definitions
MSVC: Define NATIVE_LITTLE_ENDIAN / inline as __inline / UNICODE & _UNICODE