fixed a windows build system problem with release build/dlls