updated build file to newer sgtools version