fix 32bit mac build error