Switched to Cmake compilation style