Workaround Mono specific problem with Uri.TryCreate