Exit the main application with a status code.

Current codes are 0 for success, 1 for option parsing error, and 2 for
compilation failure.