Fix build on armhf with gcc 7.