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