replaced NOT DEFINED with more compatible command
Merge branch 'devel' of https://github.com/toeb/oo-cmake into devel