Fixed #ifndef

MSVC is not set in my environment so if the distinction is required please setup in cmakelist