Remove automatically added socket library.