Add boost<1.51 workarounds to umcd sources