From Bertrand: also find libs in ./
From Bertrand: implement typeinfo-based autoloading (ROOT-5708).