Added NDEBUG to release builds