Build system for translate engine and added second argument to replay.c for time to sleep before replay starts