fix 32bit build