adds patch from Thomas Grill for Max SDK compatibility