Make it build (and maybe even work) on Linux. (Test system: Ubuntu 12.04 LTS)