Set _DEBUG for debug projects and NDEBUG for release projects