Add -ldl to the build of mttest.c