Fixed compilation on 32bit archs