Changing the update of the option variables for generate_avr_library

The option lists for HDRS and LIBS in generate_avr_library are
producing mixed up lists if the set function is used with
a space character as delimiter between option name and rest of
list. Using list function for inserting option name helped.