tell cmake this is a pure c project
fix unit tests