Added flushing before avrdude execution.