Add cmake support, first attempt