Fix output target for Windows