Fix compiler error on ARM build