Add NDEBUG macro to disable asserts.