Fixed Cmake errors