Set NDEBUG for release builds