When libraries fail to detect their dependencies (such as Firmata does with SoftwareSerial) here, try changing around the lib_ldf_mode
.
A difference in PlatformIO core version could also explain some differences if the platform version is the same.