Fixed some MWEditor build issues