Fix 32bit build
Merge branch 'master' into travis.linux