make example compile on ubuntu 13.10