fix build error on 32bit