Fix compile S2W