Fix arch-independent build in cowbuilder