Ensure compatibility with go 1.2