Changed CMake file as compilation without SOFA_DEV is now possible.

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9843 b7f1a160-662a-0410-a6d8-bea165342f16