Compiles on Linux (doesn't link yet).

Some of the code was stolen from Omnispeak.
Even when this links, it will crash and burn horribly.