Make tests compile under OSX.