Fix windows avatar compilation
Fixed avatar rendering in windows project