add configure check for gnu linker hash style setting