Adding PIC support for ELF on x86_64 platforms