Improve configure file
Use AM_CPPFLAGS instead of INCLUDES
Allow deprecations to fix build with GTK3
Use GtkBox in GTK3 instead of GtkHBox