Fix the ability to build with nativesim=true