[server] Set the dependency of libhatohol.la correctly.

Previously, libhatohol-common.la and libhatohol.la can be built
concurrently. As a result, it fails to build libhatohol.la when
libhatohol-common.la is still building.