Fixes for 32bit mode.
Get 32bit mode working