fix building in go 1.3 with typedefs