Issue #5781: Fix -x compile issue on 32bit platform