Added Mac-specific signatures to compile under OSX 10.8 and 10.9

I think the commit message says it all.