Fixed bug with command line parameters not being passed on Mac, and
fixed plugin install.