Changed sgen call to use SDK40ToolsPath