Bug: Causes Go Compiler to crash with stack trace.

go build
 # github.com/rickard-von-essen/go-parallels/prlapi
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x18 pc=0xe1ae]

goroutine 1 [running]:
runtime.panic(0x191300, 0x385719)
  /opt/boxen/homebrew/Cellar/go/1.2/libexec/src/pkg/runtime/panic.c:266
  +0xb6
  main.(*Package).rewriteRef(0x210492410, 0x210498f80)
    /opt/boxen/homebrew/Cellar/go/1.2/libexec/src/cmd/cgo/gcc.go:655
    +0x15fe
    main.(*Package).Translate(0x210492410, 0x210498f80)
      /opt/boxen/homebrew/Cellar/go/1.2/libexec/src/cmd/cgo/gcc.go:184
      +0x128
      main.main()
        /opt/boxen/homebrew/Cellar/go/1.2/libexec/src/cmd/cgo/main.go:259
        +0xe24

goroutine 12 [finalizer wait]:
  runtime.park(0x40420, 0x3897e0, 0x388088)
    /opt/boxen/homebrew/Cellar/go/1.2/libexec/src/pkg/runtime/proc.c:1342
    +0x66
    runfinq()
      /opt/boxen/homebrew/Cellar/go/1.2/libexec/src/pkg/runtime/mgc0.c:2276
      +0x84
      runtime.goexit()
        /opt/boxen/homebrew/Cellar/go/1.2/libexec/src/pkg/runtime/proc.c:1394
Working! You can connect and send keyboard events to a VM.