g++ needs -fPIC for static archives