SerialConnect: fix return and backspace keys.
configure: make nasm check compatible with BSD grep.

The BSD grep doesn't know about \s. Moreover, checking for elf (rather
than ELF) seems to make more sense, as that's the format name, not part
of the description.

Patch suggested by geist. Thanks!