Improve Autotools build system for libgeany