-fPIC needed for shared library