Convert target for matcher to string before calling match (fixes #197)