Changes to also make .so for libxml2.

Change-Id: Icda85207a296e8a8257a71a4072116a45b07e2ce
(cherry picked from commit ff128398e5b21c08c267568e27d884624b4dc6ae)
(cherry picked from commit 3f9ce951c9b4c55cd5363a4dac1b88249851f046)
(cherry picked from commit 5f4d599b3b70553e6070a70094be2d556c90d860)