fix arm compilation