Only enable automatic OBJECT generation if MAGICXS is true

The changes in e357e5a8 make the system DWIM a lot more than previously,
but sadly they also break backwards compatibility. Therefore, the new
behavior must now be explicitly enabled.