Attempt to fix MSVC C1001 error