Add -fPIC (or equivalent) when building, to allow for use in shared libraries