Read build.core variable from boards.txt

Needed for Teensy1 and Teensy2