Fixes for errors after moving to avr-gcc 4.7.2

- Have to declare PROGMEM stuff as const
- Had to add some extern statements as well