ENH: Added necessary fPIC when lib is built shared.