Done with improving the command line version of OpenCOR on Linux and OS X (closes #342).