Failing to link external library

Ref: PIO cuts `.a` when `-l:` option used · Issue #3574 · platformio/platformio-core · GitHub