fix -fPIC flag for clang