fix: crash of application release

The pull request contains fix to the issue #1 crash of application release + Makefile for convenience