Build the dynamic library under the name mps.dylib (not libmps.dylib) so that test programs get linked statically.