Fix incorrect check for gapi*.exe in generated configure.ac

This fixes #8.