Fixed Static linking issue.