Partially fix build on !amd64

Pointed by:	bz