Move libtool configuration lines back above compiler configuration
to avoid spurious compilation warnings on MacOS.