build: Fix issue with missing zotonic.app file.

Add check to detect the issue in src/zotonic_compile.erl
Resolve it by adding a dependency on the app file in the make file.

Ref #767.

(cherry picked from commit 52872fa980a6bde5d64520cb412a6b1d1148706e)