fix some bugs

This pull request fixes some syntax errors for building 'messenger.mexa' file.