fixing for 32bit machines

taken from @fundamental's patch https://github.com/JuliaStats/DataFrames.jl/issues/365#issuecomment-26657384