Make static library -fPIC so it can be used in shared library on x86_64