Fixed building on some systems again.

Cocaine Runtime also links with some boost libraries. I forgot to fix it in the previous commit.