More GNU libtool compatibility fixes.

--HG--
extra : rebase_source : 16b34de7f826336aca0c21278bd89418ce9078d8