add dynamic link settings for build on windows. refs #1691