Linux fix

Make sure to add the dylibs for not mac
"Detect" macports vs homebrew

Just looks for the /opt v /usr dir, probably not very fool proof
Prefers home-brew in case of conflict in detection.