[MacOSX] Maintain backward compatibility with older XS/mtouch