Fixes and notes needed to get compiling on Ubuntu 12.04 LTS.

I needed to make some changes to get it to compile on Ubuntu 12.04 LTS. I don't know what system you normally run it on, but these notes and changes will get in running on a clean install of Ubuntu.