Moved .m compilation from rules to CMake.

Now letting CMake take care of compiling all the .m routines, and
removing that function from the debian/rules file.