added CCFLAGS
appeared to have fixed the hanging problem with logger.c