Rearrange the system libraries