Removed unused cgo code