Added cgo stuff