Compile with -fPIC

This is needed on 64bit machines when the resulting static library will later
be included in a dynamic library.