Compile parser as C++ instead of C.

Also, fix the extension of the ragel lexer while we're at it.