Fix compiler error in arm build