[FEATURE] add library check on Windows for correct lib arch (avoid nasty linker errors)
Merge pull request #983 from cbielow/feature/lib-arch-check

[FEATURE,BUILD] add library check on Windows for correct lib arch