add mountain lion supprot

Please review. support for Mac OS mountain lion