linkmode=external works around the bug in https://code.google.com/p/go/issues/detail?id=5726