Explicitly check presence of few functions from glibc. If they are not present in base library, use -lresolv to link them.
Resolves: #39
Closes #39