s3-time: fix build warnings after we moved to shared time functions.