Properly set the _DEBUG and _NDEBUG defines in multi configuration projects
Merge pull request #403 from Orphis/cmakedebug

Properly set the _DEBUG and _NDEBUG defines in multi configuration proje...