Fix build on 32bit systems
cmake < 3.9.0 has a bug that causes the build to fail on 32bit systems:
https://gitlab.kitware.com/cmake/cmake/merge_requests/671
This workaround is taken from kio, commit 781cfa4e2.
BUG: 386948
wbauer | Nov 16 2017, 12:29 PM |