Remove "inline", mistakenly added by Dan to Zoltan's win fixes
manual declaration of log2: do it on MSVC, not on all win32