conditionally compile for osx lion as well as snow leopard
Merge pull request #38 from ehsanul/lion

conditionally compile for osx lion as well as snow leopard