Fix the cmake build (#66), remove the automake build (#87)