Fix linking error.

Removed warnings