adding fPIC flag