Fix the upload script.
Improve libmawt.so workaround.