Removing all warnings in backend project and adding -Werror to compiler flags