Fix crc on msvc
Add missing inline