Remove unnecessary boost modules.
Fix compiler errors.