Avoid the bug in versions older than Go1.3