Conditionally rename main to mosh_main for building under NaCl.

This is the one and only patch I have in Mosh for Chrome to be able to use Mosh as a library in my NaCl wrapper. It'd be great to have it upstream so I don't have to worry about it anymore.