Add a way to specify a custom regex lib.

Useful for nqp-jvm while it only has the runtime part of it.