Because on Linux systems the dynamic library is in 'lib' directory, on the other hand, on Windows, the compiler will use archive library from `lib` directory, and at run-time the dynamic library from `bin` directory will be loaded.