adding -Wno-dev flag to cmake