fixes build architectures issue