Some small changes to compile_all_native