Updated configureSerialPort() method to take MCStringRef