Made as_optional() visible to MSVC builds only