Remove cgo and enable linkmode=internal