[DEV] set the NDEBUG and the DEBUG flag and set -03 compilation in release