fixed ARM compilation