Fix build failing and take off unnecessary lib. Reference: Bingzer/DbQuery#27