cleanup of libraries dir