space_control: Corrected CMakeLists

main.cpp was still used in the CMakeLists;
corrected this to actually build a library

This is also related to issue #1.