[packaging] add -fPIC to flags