If the boost library is to old use nanosleep. This make it compile on
hardy.