fix the s2w compile