Blink problem-constantly on instead of blinking

where I set a variable for the pin 13. This is the only way for the blinking program to work.

This is a well know issue with Linux distros using broken tool chains. You need to update avr-bintools or always declare a used global variable.