[FEATURE] add library check on Windows for correct lib arch (avoid nasty linker errors)