converted Windows tools to static linking