Fixed printf formats for Win builds