fix the issue with cmake adding -NDEBUG