Compiling using Go 1.12 gives the following error:
cdata.Ref: relocation target runtime.acquirem not defined for ABI0 (but is defined for ABIInternal)
cdata.Ref: relocation target runtime.releasem not defined for ABI0 (but is defined for ABIInternal)