Improve liboost build