These changes are MSVC specific and shouldn't affect the other builds. (incidentally, libpbd already offers a function called 'fast_log2()'. Not sure if that could have been used instead...)