fixed some issues with configure.ac from last commit