Make template compatible in Windows