If the name of the module is some::long::library, it should end up in $PREFIX/lib/some/long/library
and not lib, so what you're asking for is trouble, on the other hand
you might want to look into the PM option.
MJDsays "you can't just make shit up and expect the computer to know what you mean, retardo!"