Fixes #5081: Specify -lpthread during LMDB presence detection of CFEngine configure script
Merge pull request #387 from Kegeruneku/bug_5081/int/5081_specify_pthread_during_lmdb_detection_in_cfengine

Fixes #5081: Specify -lpthread during LMDB presence detection of CFEngin...