changed make file to cmake file