some hacks to get it running

1. add missing headers (unistd.h)
2. ignore ctags meta file
3. fix a wrong including (rpc.h --> rpc/rpc.h)
4. remove trailing spaces in lock_smain.cc