First pass at compiling under Linux

I got the code to compile, though it doesn't yet run (I think it's probably segfaulting in the absence of a data.c3d file).