Win32 platform compilation problem.

Fixing problem when compiling handlebars templates on win32 platform when directory level has more than 2 deep.