cmake: put header files to jdns subdir
cmake: fixed depend libraries path on OS X after installing