X32 build support

R=@indutny or @saghul?