Could you use the following notation and remove `if()` commands?

    OCV_OPTION(ENABLE_WINSDK81 "Build VS2013 with Windows 8.1 SDK" OFF  IF WIN32 AND (MSVC_VERSION EQUAL 1800))