Fix build on OSX

remove use of deprecated autoconf macro