include stdlib.h, needed for free()
move notify(), so it is know at compile time for main()
argument is of type 'char *'
use pkg-config for compiler options
allow to define PREFIX in environment
use install for install
Merge pull request #1 from eworm-de/master

fix some code issues