Add -lanl (asynchronous name lookup library) checking in configure script, and modify corresponding conditional directive in netbase.cpp to ensure we can use the lib properly.

Signed-off-by: Huang Le <4tarhl@gmail.com>