Compatibility with go 1.0 (for travis builder).