Compile static libraries with -fPIC

Fixes robotology/qtyarp#5
Remove no longer needed explicit -fPIC

Since this is now enabled for all static libraries, it is no longer
needed to add it explicitly.
Enable shared libraries by default
Merge pull request #160 from drdanz/position_independent_code

Compile static libraries with -fPIC and enable shared libraries by default