Another try to get nix compil fix
Try fix throw exception
Replace that exception throw by an assert
Use std::chrono instead of boost (avoiding using date_time from boost)
Another way to test time
try