Test indirect redirection with cgo