Fixed bug with templates paths in Windows.