building arduino using atmega8

Optiloader will burn bootloaders "automagically" into ATmega8, ATmega168, ATmega328, and ATmega328p chips.
The "ATmega16" is an entirely different chip, not supported by the arduino environment. There is currently no version of optiboot for ATmega16 for optiloader to burn.