Fix ARC miscompile, add DEBUG flag so tests don't get stripped