Fixed parsing of dependency files (.d) to improve sketch build speed

Close #2255
Merge pull request #2395 from cmaglie/fix-makedep-unescape

Fixed parsing of dependency files (.d) to improve sketch build speed