Use the correct DEBUG macro for asserts

_DEBUG is a Visual C++-ism. The correct macro to use to determine Debug vs. Release builds is NDEBUG.
See also: https://stackoverflow.com/questions/2290509/debug-vs-ndebug/2290616