Fix compiler warning on MSVC. Close #16