Only use -fPIC if compiler supports it.