[bugfix] close #107. On DLL platforms, cmake treats shared library files as same as
BINARY targets, not as LIBRARY targets. Thanks a lot, @ktakashi!