Fix and merge back a go-lang bug crash on loading when build as dynamic library
Project link: https://github.com/stonewell/go