The Boost script takes the wrong assumption that variables are not yet set when executed.
Pushed new branch T25703-FixBoostScript.
Cherry-picked into releases/2018-04.