make dynamic linker depend on -DSHARED not -fPIC