Only one C build reloaded: Using object libraries.

Previous commit didn't actually build libsocket only once.