Fix build issue with architectures.