add hacky support for multiple architectures