It's much easier to modify and maintain your own software which is purpose-built to your needs than it is to maintain somebody else's code that was built to their needs, and was probably overcomplicated to make it as a generic library.
For a compiled language, you have the extra complexity of integrating its build system into yours.
So I'd say you should still weigh carefully whether you want to pull an extra dependency or not.