Camillo Lugaresi : configure: Fix problem with linking on OS X 10.7.