apps/bw: Fix the Makefile to compile

Still have issues
apps/chat: Fix the Makefile to compile

Still have issues