That's quite distressing for you.
But what to do?
You can either accept that, for whatever reason, she has taken a dislike to you. It could even simply be the fact that you are not a blood relative - who knows with teenagers... and continue being friendly and polite, or ask the parents if they are aware of anything you might have done or said that has upset her.
I can't think that other members of the family are unaware of her behaviour. I know young people can be emotionally immature, and maybe not 'engage', but to deliberately turn her back on you when you enter a room is, frankly, rude. She can't be forced to be friendly if she doesn't feel 'friendly', but bad manners are bad manners.
If it were me, I'd want to clear the air - politely of course - but I'd be having a word with the parents, or whoever is responsible for her - not least to find out if there is anything at all that you have done, inadvertently, to upset her.
And, if I felt I couldn't do that - I'd extricate myself from any gatherings in which this child was included. If she were still a child, I'd ignore it and just continue to act friendly and polite - but she's on the cusp of womanhood and really should be behaving a tad more grown up. I wouldn't have tolerated my 15-year old acting like that towards anyone without good reason.
I know we have to tread carefully with young people but I do think sometimes we are too tolerant of bad manners.