[babel] backport version 1.4.2 from BB