Fix link the dependency libraries in debug configuration. This commit will fixed a problem that linking dependency libraries of release version in debug configuration.