Fix linking problem on Windows.

Normally it works, but apparently inline functions are treated like
normal declarations when optimization level is -O0.