The suspect the child is very intelligent and is bored, lego is far more interesting than dolls. She should be encouranged not discouraged. Just because she is a girl does not mean she has to conform to "girly things" My neice was exactly like this and went on to be a Doctor.
It is quite common for the middle child to need a bit more attention. Nobody should make her feel she has a problem.