Add -fPIC to shared library compile options