Fix an error on rake in case cross builds.

 It may be caused by 33350251ae3.