Fixed compilation problems for non delta printer.