Add GI related compilation settings

Added appropriate settings to configure.ac and Makefile.am