Backport to BuildCraft version 3.5.3