Windows: fix compilation error, Windows does not now ftruncate.