Improving the makefile and fixing a bug where the primary could reply to a client before receiving the acknowledgment from the backups.