enable PhotonVertexSelection package in AnalysisBase + fixes for MacOS
While (most of) the problems with the package were resolved a while back, it was never enabled in the AnalysisBase build. Done now. This also required removing some out-dated entries from the dictionary.
I also fixed the compilation errors on MacOS (which hopefully doesn't break the build elsewhere). The were some includes that needed to be added, and an extra root library linked in one place.