Ubuntu raring

Here are the patches required to get this working on ubuntu raring. I have no idea (or current inclination to learn) about the build tool you use (i prefer makefiles and cmake), so some of my changes may be a bit boneheaded.

1- No udev rules, copied udev rules but could not make install target
2- Gcc compiler flags need to be in the right order.
3- 'pkgconfig' options for python is broken, or at least is on ubuntu.

I am still having trouble getting it to run on Centos 6.4

Tim.