What's the right way to implement _wtoi_l?