Feature/lib path searching

Fixins for ubuntu