windows fixes and removed hotspotter/tpl