UNDO:Added option to build tools static when building shared libraries. This will prevent 'dll' being appended to the tool name on windows. See HDFFV-8292.
Windows DLL linkage problem because of defines needed.

Tested: local linux

git-svn-id: https://svn.hdfgroup.uiuc.edu/hdf5/trunk@25570 dab4d1a6-ed17-0410-a064-d1ae371a2980