remove use of deprecated gy_gtk_main
add trivial configure script to ease downstream packaging