There are few deprecation warnings which makes the compilation to fail with `-Werror` flag. Removing `-Werror` from CMakeList.txt` solves the issue.