Added another library path - needed for some libraries when using Arduino 1.5.5

Also check build.core variable - needed for Teensy 1 and 2.