adding cmake support