Change projects to cmake targetsto get rid of havig to hardcore include directories and link libraries in consumer projects.