Fix colliding max macro from windows.h and max from std for OnCalls defines