Creating static binaries with autotools