Need -fPIC if we are going to build a shared object.