Fix compilation on all arches