Fix for returning "Undefined" value
Added _WINDOWS definition for x64 target