Workaround for MSVC compiler