Fix build with ocaml 4.04
BUG: 372671 FIXED-IN: 17.08
Differential Revision: https://phabricator.kde.org/D6752