Fix bug with command line arguments not being processed correctly.