Code added to fix issues #410, #409 variant variable in platforms.txt not added. Other boards need to overide this value to use their own custom variant.