If libnids or yara are installed separately, "make install" for those tools
puts the header and libraries in $prefix/include and $prefix/lib respectively.
Find the required pieces there if specified with --with-XXX=$prefix
Merge pull request #48 from jpvlsmv/master

--with-yara= and --with-libnids= not finding installed dependencies when installed