Fix static library build for KF6 by adding fPIC option
Co-Authored-By: Carl Schwan carl@carlschwan.eu