Moved in-source libraries to common lib folder.