fix inline attribute for MSVC