Particular errors in Ubuntu

ccn-mobility.cc has some errors that only appeared when using Ubuntu. This
patch fixes the ones we noticed.