Move use of SWT platform into a command line switch for now.