Fix C4716 (Must return a value) error on Windows MSVC