fix to issue #367 - unknown selector on OSX 10.8 and less