no more memory leaks
add pkgconfigpath for homebrew