added QJackMMC to makefile, fixed overflow bug in common.c