Fixed libthrift dependency.