fix embedding.c compilation