Update capi.h

Work around added to deal with go issue 8148 https://code.google.com/p/go/issues/detail?id=8148