Autotools, static linking