fix template dir path
Paths and prefix work on Windows