Changed sgen to use SDK40ToolsPath