Add cmake support.