Fix rails 4.1.7 made compile host error