Fixed incorrect library argument to the linker.

Building the tests failed to compile on ubuntu 14.04 because -msgpack was specified
instead of -lmsgpack in the test makefile.