a couple hooks needed for crosscompiling a 32 bit version