I was hoping this will fix the issue below. But there is more code that break new cgo rules. Fixes #409 (partial)