configure.ac: fix sed syntax to work OSX sed

Hopefully fixes #4.