Fix r_static compilation error.