Attempt to fix the autotools linking issue on jenkins.