Fix generation of .app file from Makefile. Fixes #107.

The sed script incorrectly generated the `modules` section by having one set to much of { and }. This patch fixes the problem by removing it.