Fixed missing fPIC flag on rngs library