Fix compilation in x86_64 (add -fPIC to lib/Makefile)