A couple of minor fixes to make embedding as an automake subproject easier

When embedding into a project that used c99 as the default compilation mode, it was useful to use __asm rather than asm since embedded automake projects use the same cflags as their parents.

Having autogen executable by default allows some build automation to work without any extra hacks.