use ExtUtils::PkgConfig to include --libs and --cflags
use CONFIGURE_REQUIRES and CONFIGURE to check features
Move DEFINE parameter into CONFIGURE
Merge pull request #2 from c9s/feature/pkg-conifg

Use pkg-config to improve feature checking and CFLAGS, LIBS parameter building