error compiling with VS2013 x64 max is not a member of std