changed asm_naked_fn_proto to extern "C" fixing compilation with g++