Fix maximum .so file version search on Linux