make it build on ubuntu 10.04