remove boost dependency of replication

remove the boost dependency.