Build libmock_exchange.so.

After the recent registration-related changes it's impossible to use the mock exchange connector. This commit fixes this problem.