build: fix win32 check in bson-reader.