Fixed the issue with newly built application not opening under OS X (closes #347).

The previous ‘fix’ was always starting OpenCOR in GUI mode (!!).