Fixed bug on receiving instant message
Create dist directory programmatically in Cakefile