fixed CMakeLists.txt
(makes static library)
bugfix(serializing of std::vector)
debug message macro added