Fixed issue with 32-bit builds with a 64-bit cross-compiler