bug fix - include *.tpl fail in win