Changed cmake files for compiling all *.cpp files in module directories.