Fixed define error under Windows with MSVC