fix compiler issues Mac

- use AM_CPPFLAGS instead of INCLUDES
- add libargp to the compile process

I'm not sure if the libargp thing is also okay when compiling on linux. But on mac installing libglib2 thought macports does not install libargp.