configure: fix PIC activation for x86_64 shared libs