Fix native prototype pollution in library mode

Since `processor` has the package `colors` as an upstream dependency, String' s prototype would get unexpectedly modified.
This commit fixes that issue by only loading `processor` if really needed.