Add support for external passed in docs
Better .pc file handling