Linux step 2

Hello,
These changes allow the RaceAnalyzer to be built and run on Linux (Mint 12) and do not break the (Windows 7) MinGW build. The serial communication (on Linux) will need more work.