Those errors are beyond my knowlege of Yhc so I'll have to leave that to Neil and Tom to fix :-) I do know that compiling the library always produces a load of error messages.
(if I had instructions to set up buildbot then I wouldn't need to feel like doing it again, I
could just set it up as a "nice", automated process in the background...)