Fix shared library build on linux (-fPIC)