Change inline -> __inline for MSVC (seems to work on gcc too)