add -fPIC to CFLAGS when building a shared library on other platform than windows