[master] Writing Link Key

I believe we are now writing the link key for our device, however I can not be sure and have to switch to adding SPI for
now. Also updated Makefile.in to use the correct compiler