Limit parallel builds forked by IDE

A related issue was recently opened on GitHub and an investigation was done by one of the Arduino developers: