fix Windows string format function usage