Updates for builddeb

Hey Steve

As I'll talk about in the next SDB meeting, I now have a buildserver which automatically pulls and builds the whole sMAP stack (and pushes to  https://launchpad.net/~mandersen/+archive/smap) whenever something is committed to svn or git.

These are the changes I needed to make to build the readingdb components. At the moment I am only building this branch, I don't know if the master branch is still used?

In addition, the buildserver also makes sure that the pkg_check lines in the configure.ac files are uncommented, but I haven't committed that because I don't know your reasoning for leaving one them commented.  

Michael