Compiles on linux now. Tests don't run, but I suspect that's due to CUnit not playing nice.