Use a sane way to check if binary:match is available.

Using try/catch with `_:_` is pretty crazy.