Cleans up app/lib directories.