Use ARX_PLATFORM instead of duplicating checks