Better way of handling lib files