Second order homological obstructions on real algebraic manifolds