added third-party libraries for s