raft_core and basic unit test compile