[scheduling] Fix compile error (test class needs to friend test).
[scripts] Support versioned Boost dependencies.