add workaround for arm builds on aarch64