Fix bashisms in configure.ac

Addresses https://github.com/facebook/watchman/issues/48