Fix mutex bug, fix .cpp makefile bug