Add _DEBUG and _RELEASE define accorging to CONFIG option