Added more dependencies.

Added boost-thread-dev and boost-system-dev dependencies to Ubuntu.