Fix regex issue with template paths on Windows machines.