Patches for configure.in support for Mac OS X [sf#652074] [#45]