Fix to get EntitySystem building on Mac