fix tutorial cmake bugs