[Bug 2047796] mpdecimal 2.5.1 static lib and test fixes