Add cmake support
Quick-and-dirty