Made compiling work (-std=c++11)

for avr-gcc