Make texture loading work if texture path uses windows path separators