Windows compiler fix