Add required system libraries to the lib directory