ld require flag -fPIC when making a shared object