Remove cgo dependency