The NOREDUCE compiler option will slightly increase the compatibility of your code, but at a significant expense to performance.
For more discussion of this option, see REDUCE.