Solved with some changes in the Dallas temp library (and platformio 3.5 which allows installing a library from a git url). My thread there: https://community.platformio.org/t/platformio-and-mysensors-for-atmega328p-on-breadboard-was-not-declared-in-this-scope/2994/7?u=n8henrie