correctly find poppler library

was a fix for mac os