Fixes the ndk profiling for all archs