Make oslib/linux-dev-lookup.c a stand-alone library