fix fences for non-arm archs