fixed a linking error.