Revert "a couple hooks needed for crosscompiling a 32 bit version"

This reverts commit df6256e0194531840b57c1251dc24acc33e2dba6.

cos it broke the build