Well, there's this:
http://en.wikipedia.org/wiki/PearlashYou can sift through here with a basic knowledge of chemical compounds (thank you, honors chemistry!) and it shouldn't be too hard to find an alternate production method.
Apparently, modern production involves electrolysis, which you could technically build a custom workshop for. You should probably make it powered, and I assume a flat desert would have plenty of wind available for a windmill. You'd also need a good substitute for Potassium Chloride, maybe more reactions to get potassium (you could also mod in bananas) and chlorine (not sure how dwarves would do this, but it could also be used as a basic explosive once that mechanic gets put in) and to combine them.